
namespace ZR.Model.ProdManage
{
    /// <summary>
    /// 二级包装
    /// </summary>
    [SugarTable("prod_two_pack")]
    public class ProdTwoPack
    {
        /// <summary>
        /// 包装id 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "pack_id")]
        public string PackId { get; set; }

        /// <summary>
        /// DMS订单 
        /// </summary>
        [SugarColumn(ColumnName = "dms_order_no")]
        public string DmsOrderNo { get; set; }

        /// <summary>
        /// 计划号 
        /// </summary>
        [SugarColumn(ColumnName = "plan_no")]
        public string PlanNo { get; set; }

        /// <summary>
        /// 仓库 
        /// </summary>
        [SugarColumn(ColumnName = "ware_code")]
        public string WareCode { get; set; }

        /// <summary>
        /// 装箱批次 
        /// </summary>
        [SugarColumn(ColumnName = "pack_batch_no")]
        public string PackBatchNo { get; set; }

        /// <summary>
        /// 箱号 
        /// </summary>
        [SugarColumn(ColumnName = "pack_no")]
        public string PackNo { get; set; }

        /// <summary>
        /// 装箱开始时间 
        /// </summary>
        [SugarColumn(ColumnName = "pack_start_time")]
        public DateTime? PackStartTime { get; set; }

        /// <summary>
        /// 装箱结束时间 
        /// </summary>
        [SugarColumn(ColumnName = "pack_end_time")]
        public DateTime? PackEndTime { get; set; }

        /// <summary>
        /// 装箱状态（1进行2完成3已装箱4已装柜9取消） 
        /// </summary>
        [SugarColumn(ColumnName = "pack_status")]
        public string PackStatus { get; set; }

        /// <summary>
        /// 包装类型 
        /// </summary>
        [SugarColumn(ColumnName = "packing_type")]
        public string PackingType { get; set; }

        /// <summary>
        /// 长 
        /// </summary>
        [SugarColumn(ColumnName = "pack_length")]
        public decimal? PackLength { get; set; }

        /// <summary>
        /// 宽 
        /// </summary>
        [SugarColumn(ColumnName = "pack_width")]
        public decimal? PackWidth { get; set; }

        /// <summary>
        /// 高 
        /// </summary>
        [SugarColumn(ColumnName = "pack_height")]
        public decimal? PackHeight { get; set; }

        /// <summary>
        /// 重 
        /// </summary>
        [SugarColumn(ColumnName = "pack_weight")]
        public decimal? PackWeight { get; set; }

        /// <summary>
        /// 净重 
        /// </summary>
        [SugarColumn(ColumnName = "net_weight")]
        public decimal? NetWeight { get; set; }

        /// <summary>
        /// 毛重 
        /// </summary>
        [SugarColumn(ColumnName = "gross_weight")]
        public decimal? GrossWeight { get; set; }

        /// <summary>
        /// 参考包装 
        /// </summary>
        [SugarColumn(ColumnName = "reference_pack")]
        public long? ReferencePack { get; set; }

        /// <summary>
        /// 版本 
        /// </summary>
        public int? Version { get; set; }

        /// <summary>
        /// 车型 
        /// </summary>
        [SugarColumn(ColumnName = "car_type")]
        public string CarType { get; set; }

        /// <summary>
        /// 工艺编号 
        /// </summary>
        [SugarColumn(ColumnName = "technology_no")]
        public string TechnologyNo { get; set; }

        /// <summary>
        /// 打印状态(已打印、未打印) 
        /// </summary>
        [SugarColumn(ColumnName = "print_state")]
        public string PrintState { get; set; }

        /// <summary>
        /// 上传状态(Y成功N失败W等待) 
        /// </summary>
        [SugarColumn(ColumnName = "postback_state")]
        public string PostbackState { get; set; }

        /// <summary>
        /// 创建人 
        /// </summary>
        [SugarColumn(ColumnName = "create_by")]
        public string CreateBy { get; set; }

        /// <summary>
        /// 创建时间 
        /// </summary>
        [SugarColumn(ColumnName = "create_time")]
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人 
        /// </summary>
        [SugarColumn(ColumnName = "update_by")]
        public string UpdateBy { get; set; }

        /// <summary>
        /// 更新时间 
        /// </summary>
        [SugarColumn(ColumnName = "update_time")]
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 备注 
        /// </summary>
        public string Remark { get; set; }
    }
}